// 
@switch-prefix: ~"@{prefix}switch";


.@{switch-prefix}  {
    display: inline-block;
    
}
.@{switch-prefix} .bg {
    float: left;
    position: relative;
    width: 48px;
    height: 24px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: 200ms;
}
.@{switch-prefix} .point {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    margin-top: -9px;
    background: #fff;
    border-radius: 9px;
    left: auto;
    right: 3px;
    transition: 200ms;
}
.@{switch-prefix} .text {
    float: left;
    line-height: 24px;
    padding: 0px 5px;
}
.@{switch-prefix}.off .bg {
    background: #ccc;
}
.@{switch-prefix}.off .bg .point {
    
}
.@{switch-prefix}.on .bg {
    background: #57da57;
}
.@{switch-prefix}.on .bg .point {
    right: auto;
    left: 3px;
}
.@{switch-prefix}.mini {
    
}
.@{switch-prefix}.mini .bg {
    width: 32px;
    height: 16px;
    margin: 4px 0px;
}
.@{switch-prefix}.mini .point {
    width: 12px;
    height: 12px;
    margin-top: -6px;
    right: 2px;
}
.@{switch-prefix}.mini.on .point {
    left: 2px;
}

.@{switch-prefix}.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

